import {request} from "@/network/request";

export function getCategory(){
	return request({
		url: '/category'
	})
}

export function getSubCategories(maitKey) {
	return request({
		url: 'subcategory',
		params: {
			maitKey
		}
	})
}
